﻿using AIStudio.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AIStudio.Wpf.Business.IBussiness
{
    public interface IDataProvider
    {
        Task<AjaxResult> GetToken(string url, string userName, string password);


        //[LogHandler]
        Task<AjaxResult<T>> GetData<T>(string url, string json = "{}");
    }
}
